package com.bear.atlassianmcp.confluence.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**
 * Confluence版本信息模型
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class ConfluenceVersion {

    private ConfluenceUser by; // 在API响应中，by是一个用户对象
    private String when;
    private String friendlyWhen;
    private String message;
    private Integer number;
    private Boolean minorEdit;
    private Boolean syncRev;
    private String syncRevSource;
    private ConfluenceUser byUser;

    // Getters and Setters
    public ConfluenceUser getBy() {
        return by;
    }

    public void setBy(ConfluenceUser by) {
        this.by = by;
    }

    public String getWhen() {
        return when;
    }

    public void setWhen(String when) {
        this.when = when;
    }

    public String getFriendlyWhen() {
        return friendlyWhen;
    }

    public void setFriendlyWhen(String friendlyWhen) {
        this.friendlyWhen = friendlyWhen;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public Boolean getMinorEdit() {
        return minorEdit;
    }

    public void setMinorEdit(Boolean minorEdit) {
        this.minorEdit = minorEdit;
    }

    public Boolean getSyncRev() {
        return syncRev;
    }

    public void setSyncRev(Boolean syncRev) {
        this.syncRev = syncRev;
    }

    public String getSyncRevSource() {
        return syncRevSource;
    }

    public void setSyncRevSource(String syncRevSource) {
        this.syncRevSource = syncRevSource;
    }

    public ConfluenceUser getByUser() {
        return byUser;
    }

    public void setByUser(ConfluenceUser byUser) {
        this.byUser = byUser;
    }
}
